package org.study.bookmanager.repo;

import org.hibernate.query.Page;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;
import org.study.bookmanager.entity.Books;

import java.awt.print.Pageable;


@Repository
public interface BooksRespository extends JpaRepository<Books, Integer>, JpaSpecificationExecutor<Books> {
    boolean existsByIsbn(String isbn);

    Books findByIsbn(String isbn);
}
